export const API_WATERQUALITY_ADMIN_APP_GET = '/waterquality/admin/app/get'
export const API_WATERQUALITY_ADMIN_APP_DELETE = '/waterquality/admin/app/delete'
export const API_WATERQUALITY_ADMIN_APP_CREATE = '/waterquality/admin/app/create'
export const API_WATERQUALITY_ADMIN_APP_UPDATE = '/waterquality/admin/app/update'
export const API_WATERQUALITY_ADMIN_APP_LIST = '/waterquality/admin/app/list'

import { request } from '@/utils/request';

export function getInfo(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APP_GET,
    data,
  });
}

export function doDelete(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APP_DELETE,
    data,
  });
}

export function doUpdate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APP_UPDATE,
    data,
  });
}

export function doCreate(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APP_CREATE,
    data,
  });
}

export function getList(data: object) {
  return request.post({
    url: API_WATERQUALITY_ADMIN_APP_LIST,
    data,
  });
}
